Total Complexity | 40 |
Dependencies | 3 |
Dependents | 3 |
Total lines | 343 |
Lines of code | 161 |
Logical lines of code | 89 |
Comment lines | 120 |
Methods | 16 |
Properties | 6 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
sanitize_item_amount_mismatch() | 48 | 8 | 32 | |
sanitize_item_tax_mismatch() | 60 | 6 | 13 | |
sanitize_breakdown_mismatch() | 58 | 5 | 15 | |
calculate_tax_mismatch() | 53 | 4 | 24 | |
calculate_breakdown_mismatch() | 57 | 2 | 17 | |
__construct() | 64 | 3 | 10 | |
calculate_item_mismatch() | 59 | 2 | 14 | |
breakdown_value() | 70 | 2 | 6 | |
amount() | 79 | 1 | 3 | |
currency_code() | 78 | 1 | 3 | |
breakdown() | 79 | 1 | 3 | |
items() | 79 | 1 | 3 | |
sanitize() | 66 | 1 | 9 | |
has_ditched_items_breakdown() | 82 | 1 | 3 | |
get_last_message() | 82 | 1 | 3 | |
set_last_message() | 81 | 1 | 3 |